home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
master
/
Examples
/
Shared_Lib
/
defs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-01
|
820b
|
41 lines
/*
* DEFS.H
*/
#define abs
#include <exec/types.h>
#include <exec/ports.h>
#include <exec/semaphores.h>
#include <exec/libraries.h>
#include <exec/memory.h>
#include <clib/exec_protos.h>
#include <clib/alib_protos.h>
#include <string.h>
#define HSIZE 128
#define HMASK (HSIZE-1)
#define CSIZE 64 /* memory cache list size */
#define CMAXMEM 32 /* max cached blocks per array index */
#define LibCall __geta4 __regargs
#define Prototype extern
typedef struct Message Message;
typedef struct Library Library;
typedef struct Node Node;
typedef struct List List;
typedef struct SignalSemaphore SignalSemaphore;
/*
* include lib-protos.h AFTER our typedefs (though it doesn't matter in
* this particular test case)
*/
#include "test-protos.h"
extern const char LibName[];
extern const char LibId[];